<html>
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge" />
	<title>Image format test</title>
    <script type="text/javascript" src="../../../../x3dom-include.js"></script>
</head>
       
<body>
		<div class="group">
			<X3D xmlns="http://www.web3d.org/specifications/x3d-namespace" id="spheres" width="800px" height="600px">
 <Scene DEF='scene'>
	<!-- 
		<Viewpoint position='-10 28 47' orientation='1 0 0 -0.35' ></Viewpoint>
  	-->
  	<Viewpoint position='-10 12.5 40'  orientation='0 0 1 0' ></Viewpoint>
    <Background skyColor='0.05 0.12 0.23'></Background>

    
    <Transform DEF='root' >
    <Transform>
    <Transform translation='0.7 -1.25 2.5' rotation='-0.577 0.577 0.577 2.093'>
      <!--
      <Shape>
      	<Appearance DEF='ap' containerField='appearance'>
      		<Material diffuseColor='1 1 1'></Material>
      	</Appearance>
      	<Text string='Uncompressed' depth='0.1' lit='false'>
      		<FontStyle DEF='fs' family='SANS' size='2' justify='end'></FontStyle>
      	</Text>
      </Shape>
      -->
    </Transform>
    <Transform translation='0 0 0'>
      <Shape>
        <Appearance>
          <ImageTexture repeatS='false' repeatT='false' url='"./test_image.mtd"'></ImageTexture>
        </Appearance>
        <Box size='3 3 3' ></Box>
      </Shape>
    </Transform>
    <Transform translation='0 5 0'>
      <Shape>
        <Appearance>
          <ImageTexture repeatS='false' repeatT='false' url='"./test_image.sgi"'></ImageTexture>
        </Appearance>
        <Box size='3 3 3' ></Box>
      </Shape>
    </Transform>
    <Transform translation='0 10 0'>
      <Shape>
        <Appearance>
          <ImageTexture repeatS='false' repeatT='false' url='"./test_image.nrrd"'></ImageTexture>
        </Appearance>
        <Box size='3 3 3' ></Box>
      </Shape>
    </Transform>
    <Transform translation='0 15 0'>
      <Shape>
        <Appearance>
          <ImageTexture repeatS='false' repeatT='false' url='"./test_image.bmp"'></ImageTexture>
        </Appearance>
        <Box size='3 3 3' ></Box>
      </Shape>
    </Transform>
    <Transform translation='0 20 0'>
      <Shape>
        <Appearance>
          <ImageTexture repeatS='false' repeatT='false' url='"./test_image.tga"'></ImageTexture>
        </Appearance>
        <Box size='3 3 3' ></Box>
      </Shape>
    </Transform>
    <Transform translation='0 25 0'>
      <Shape>
        <Appearance>
          <ImageTexture repeatS='false' repeatT='false' url='"./test_image.pnm"'></ImageTexture>
        </Appearance>
        <Box size='3 3 3' ></Box>
      </Shape>
    </Transform>
    </Transform>
    
    
    <Transform translation='-5 0 0'>
    <Transform translation='0.7 -1.25 2.5' rotation='-0.577 0.577 0.577 2.093'>
      <!--
      <Shape>
      	<Appearance USE='ap' ></Appearance>
      	<Text string='Lossless' depth='0.1' lit='false'>
      		<FontStyle USE='fs'></FontStyle>
      	</Text>
      </Shape>
      -->
    </Transform>
    <Transform translation='0 0 0'>
      <Shape>
        <Appearance>
          <ImageTexture repeatS='false' repeatT='false' url='"./test_image.png"'></ImageTexture>
        </Appearance>
        <Box size='3 3 3' ></Box>
      </Shape>
    </Transform>
    <Transform translation='0 5 0'>
      <Shape>
        <Appearance>
          <ImageTexture repeatS='false' repeatT='false' url='"./test_image.tif"'></ImageTexture>
        </Appearance>
        <Box size='3 3 3' ></Box>
      </Shape>
    </Transform>
    <Transform translation='0 10 0'>
      <Shape>
        <Appearance>
          <ImageTexture repeatS='false' repeatT='false' url='"./test_image.gif"'></ImageTexture>
        </Appearance>
        <Box size='3 3 3' ></Box>
      </Shape>
    </Transform>
    <Transform translation='0 15 0'>
      <Shape>
        <Appearance>
          <ImageTexture repeatS='false' repeatT='false' url='"./test_image.psd"'></ImageTexture>
        </Appearance>
        <Box size='3 3 3' ></Box>
      </Shape>
    </Transform>
    </Transform>
    
    
    <Transform translation='-10 0 0'>
    <Transform translation='0.7 -1.25 2.5' rotation='-0.577 0.577 0.577 2.093'>
      <!--
      <Shape>
      	<Appearance USE='ap' ></Appearance>
      	<Text string='Lossy' depth='0.1' lit='false'>
      		<FontStyle USE='fs'></FontStyle>
      	</Text>
      </Shape>
      -->
    </Transform>
    <Transform translation='0 0 0'>
      <Shape>
        <Appearance>
          <ImageTexture repeatS='false' repeatT='false' url='"./test_image.jpg"'></ImageTexture>
        </Appearance>
        <Box size='3 3 3' ></Box>
      </Shape>
    </Transform>
    <Transform translation='0 5 0'>
      <Shape>
        <Appearance>
          <ImageTexture repeatS='false' repeatT='false' url='"./test_image.jp2"'></ImageTexture>
        </Appearance>
        <Box size='3 3 3' ></Box>
      </Shape>
    </Transform>
    </Transform>
    
    
    <Transform translation='-15 0 0'>
    <Transform translation='0.7 -1.25 2.5' rotation='-0.577 0.577 0.577 2.093'>
      <!--
      <Shape>
      	<Appearance USE='ap' ></Appearance>
      	<Text string='GPU support' depth='0.1' lit='false'>
      		<FontStyle USE='fs'></FontStyle>
      	</Text>
      </Shape>
      -->
    </Transform>
    <Transform translation='0 0 0'>
      <Shape>
        <Appearance>
          <ImageTexture repeatS='false' repeatT='false' url='"./test_image.dds"'></ImageTexture>
        </Appearance>
        <Box size='3 3 3' ></Box>
      </Shape>
    </Transform>
    <Transform translation='0 5 0'>
      <Shape>
        <Appearance>
          <ImageTexture repeatS='false' repeatT='false' url='"./test_image-dxt1c.dds"'></ImageTexture>
        </Appearance>
        <Box size='3 3 3' ></Box>
      </Shape>
    </Transform>
    <Transform translation='0 10 0'>
      <Shape>
        <Appearance>
          <ImageTexture repeatS='false' repeatT='false' url='"./test_image-dxt1a.dds"'></ImageTexture>
        </Appearance>
        <Box size='3 3 3' ></Box>
      </Shape>
    </Transform>
    <Transform translation='0 15 0'>
      <Shape>
        <Appearance>
          <ImageTexture repeatS='false' repeatT='false' url='"./test_image-dxt3.dds"'></ImageTexture>
        </Appearance>
        <Box size='3 3 3' ></Box>
      </Shape>
    </Transform>
    <Transform translation='0 20 0'>
      <Shape>
        <Appearance>
          <ImageTexture repeatS='false' repeatT='false' url='"./test_image-dxt5.dds"'></ImageTexture>
        </Appearance>
        <Box size='3 3 3' ></Box>
      </Shape>
    </Transform>
    </Transform>
    
    
    <Transform translation='-20 0 0'>
    <Transform translation='0.7 -1.25 2.5' rotation='-0.577 0.577 0.577 2.093'>
      <!--
      <Shape>
      	<Appearance USE='ap' ></Appearance>
      	<Text string='HDR' depth='0.1' lit='false'>
      		<FontStyle USE='fs'></FontStyle>
      	</Text>
      </Shape>
      -->
    </Transform>
    <Transform translation='0 0 0'>
      <Shape>
        <Appearance>
          <ImageTexture repeatS='false' repeatT='false' url='"./test_image.hdr"'></ImageTexture>
        </Appearance>
        <Box size='3 3 3' ></Box>
      </Shape>
    </Transform>
    <Transform translation='0 5 0'>
      <Shape>
        <Appearance>
          <ImageTexture repeatS='false' repeatT='false' url='"./test_image.exr"'></ImageTexture>
        </Appearance>
        <Box size='3 3 3' ></Box>
      </Shape>
    </Transform>
    </Transform>
 
    </Transform>
  </Scene>
        </X3D>
	</div>
	

</body>
</html>
